package modelLayer;

public class Product {

	private int productId;
	private String name;
	private double purchasePrice;
	private double salesPrice;
	private double rentPrice;
	private String countryOfOrigin;
	private String productType;
	private String supName;
	private int locationId;
	private String productDescription;
	private Location location;
	
	public Product(int _productId, String _name, double _purchasePrice, double _salesPrice, double _rentPrice,	String _countryOfOrigin, String _productType, String _supName, int _locationId,	String _productDescription)
	{
		productId = _productId;
		name = _name;
		purchasePrice = _purchasePrice;
		salesPrice = _salesPrice;
		rentPrice = _rentPrice;
		countryOfOrigin = _countryOfOrigin;
		productType = _productType;
		supName = _supName;
		locationId = _locationId;
		productDescription = _productDescription;
		
	}
	
	public int getProductId() {
		return productId;
	}
	public void setProductId(int productId) {
		this.productId = productId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getPurchasePrice() {
		return purchasePrice;
	}
	public void setPurchasePrice(double purchasePrice) {
		this.purchasePrice = purchasePrice;
	}
	public double getSalesPrice() {
		return salesPrice;
	}
	public void setSalesPrice(double salesPrice) {
		this.salesPrice = salesPrice;
	}
	public double getRentPrice() {
		return rentPrice;
	}
	public void setRentPrice(double rentPrice) {
		this.rentPrice = rentPrice;
	}
	public String getCountryOfOrigin() {
		return countryOfOrigin;
	}
	public void setCountryOfOrigin(String countryOfOrigin) {
		this.countryOfOrigin = countryOfOrigin;
	}
	public String getProductType() {
		return productType;
	}
	public void setProductType(String productType) {
		this.productType = productType;
	}
	public String getSupName() {
		return supName;
	}
	public void setSupName(String supName) {
		this.supName = supName;
	}
	public int getLocationId() {
		return locationId;
	}
	public void setLocationId(int locationId) {
		this.locationId = locationId;
	}
	public String getProductDescription() {
		return productDescription;
	}
	public void setProductDescription(String productDescription) {
		this.productDescription = productDescription;
	}

	public Location getLocation()
    {
        return location;
    }
	public void setLocation(Location loc)
    {
        this.location = loc;
    }
}
